gtk: add nullable annotation to gtk_css_section_get_file
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:31:38 +0000 (17:31 +0100)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:31:38 +0000 (17:31 +0100)
The constructor takes a nullable file param

gtk/css/gtkcsssection.c

index 5851cc201c3ad13baff3c1df66ff3958d5b5dffc..727141fdb65f6a7bd8fc9670dc4ede8166278b78 100644 (file)
@@ -140,7 +140,7 @@ gtk_css_section_get_parent (const GtkCssSection *section)
  * If no such file exists, for example because the CSS was loaded via
  * [method@Gtk.CssProvider.load_from_data], then `NULL` is returned.
  *
- * Returns: (transfer none): the `GFile` from which the `section`
+ * Returns: (transfer none) (nullable): the `GFile` from which the `section`
  *   was parsed
  **/
 GFile *